//
//  OMGGroupCollectionReusableView.m
//  A_project2.0
//
//  Created by dllo on 16/3/14.
//  Copyright © 2016年 七平. All rights reserved.
//

#import "OMGGroupCollectionReusableView.h"

@implementation OMGGroupCollectionReusableView

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.headerLabel = [[UILabel alloc]init];
//        _headerLabel.backgroundColor = [UIColor yellowColor];
        [self addSubview:self.headerLabel];
    }
    return self;
}

-(void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _headerLabel.frame = CGRectMake(10, 10, 300, 30);
}

@end
